import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CasePageModule, CasePageRouterModule } from '../../business/case-page/api';
import { BasicModule } from './basic/basic.module';
import { EmptyModule } from './empty/empty.module';
import { Demo2Module } from './demo2/demo2.module';
import { ExpandModule } from './expand/expand.module';
import { Demo4Module } from './demo4/demo4.module';
import { Demo5Module } from './demo5/demo5.module';
import { HeaderGroupingModule } from './header-grouping/header-grouping.module';
import { FilterModule } from './filter/filter.module';
import { CustomFilterModule } from './custom-filter/custom-filter.module';
import { PaginationModule } from './pagination/pagination.module';
import { Demo10Module } from './demo10/demo10.module';
import { Demo11Module } from './demo11/demo11.module';
import { Demo12Module } from './demo12/demo12.module';
import { RowSelectionModule } from './row-selection/row-selection.module';
import { CustomCheckboxModule } from './custom-checkbox/custom-checkbox.module';
import { Demo15Module } from './demo15/demo15.module';
import { OperationModule } from './operation/operation.module';
import { AlignModule } from './align/align.module';
import { CheckboxSelectionModule } from './checkbox-selection/checkbox-selection.module';
import { Demo19Module } from './demo19/demo19.module';
import { RemoteLoadDataModule } from './remote-load-data/remote-load-data.module';
import { Demo21Module } from './demo21/demo21.module';
import { Demo22Module } from './demo22/demo22.module';
import { DragAndDropModule } from './drag-and-drop/drag-and-drop.module';
import { Demo24Module } from './demo24/demo24.module';
import { ColDisplayModule } from './col-display/col-display.module';
import { Demo26Module } from './demo26/demo26.module';
import { CustomAllOptionsModule } from './custom-all-options/custom-all-options.module';
import { Demo28Module } from './demo28/demo28.module';
import { RowSelectionMaxModule } from './row-selection-max/row-selection-max.module';
import { HeaderGroupingScrollingModule } from './header-grouping-scrolling/header-grouping-scrolling.module';
import { AdvancedFilterTableModule } from './advanced-filter-table/advanced-filter-table.module';
import { NormalScrollModule } from './normal-scroll/normal-scroll.module';
import { ResizeAutoModule } from './resize-auto/resize-auto.module';

const ComponentModules = [
  BasicModule,
  EmptyModule,
  Demo2Module,
  Demo4Module,
  Demo5Module,
  Demo10Module,
  Demo11Module,
  Demo12Module,
  Demo15Module,
  Demo19Module,
  Demo21Module,
  Demo22Module,
  Demo24Module,
  Demo26Module,
  Demo28Module,
  AlignModule,
  CheckboxSelectionModule,
  ColDisplayModule,
  CustomAllOptionsModule,
  CustomCheckboxModule,
  CustomFilterModule,
  DragAndDropModule,
  ExpandModule,
  FilterModule,
  HeaderGroupingModule,
  OperationModule,
  PaginationModule,
  RemoteLoadDataModule,
  RowSelectionModule,
  RowSelectionMaxModule,
  HeaderGroupingScrollingModule,
  AdvancedFilterTableModule,
  ResizeAutoModule,
  NormalScrollModule,
];

@NgModule({
  imports: [CasePageModule, CasePageRouterModule, CommonModule, FormsModule, ...ComponentModules],
})
export class TableDemoModule {}
